package com.xbongbong.pro.invoice.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author: lvruijuan
 * @date: 2021/10/09
 * @desrcption: 销项发票关联合同界面数据
 */

@Getter
@Setter
@ToString
public class InvoiceLinkContractGetDTO extends BaseDTO {


    private static final long serialVersionUID = 3368134929830228988L;
    /**
     * saas标记
     */
    @NotNull(message = "应用标识不能为空")
    private Integer saasMark;

    /**
     * 业务类型
     */
    @NotNull(message = "业务类型不能为空")
    private Integer businessType;

    /**
     * 销项发票id
     */
    @NotNull(message = "{dto.msg.paymentWriteOffGetDTO.dataId.NotNull}")
    private Long dataId;


    /**
     *经销商标识
     */
    private Integer distributorMark;

}

